package cn.common.restresult.util;

public enum ResultEnum {
    ADD_SUCCESS("100000","添加成功"),
    ADD_ERROR("199999","添加失败"),
    ADD_SOLR_SUCCESS("100001","solr添加成功"),
    ADD_SOLR_ERROR("199998","solr添加失败"),
    DEL_SUCCESS("200000","删除成功"),
    DEL_ERROR("299999","删除失败"),
    DEL_SOLR_SUCCESS("200001","solr删除成功"),
    DEL_SOLR_ERROR("299998","solr删除失败"),
    EDIT_SUCCESS("300000","修改成功"),
    EDIT_ERROR("399999","修改失败"),
    EDIT_SOLR_SUCCESS("300001","solr修改成功"),
    EDIT_SOLR_ERROR("399998","solr修改失败"),
    USER_HAVA_UNPAID("488888","您有未支付的订单，请先支付或取消该订单！"),
    SELECT_SOLR_NULL("499999","暂无与此信息相关的商品"),
    SELECT_NULL("000001","查询为空"),
    NOT_FOUND_ROOM("000002","没有此房间，请重试"),
    NOT_FOUND_PAYTYPE("000003","无效的支付类型或暂不支持此类型"),
    NOT_FOUND_BOOKTYPE("000004","无效的访问方式"),
    DEL_NETWORK_ERROR("000005","网络异常，请重试"),
    SUCCESS("000000","执行成功"),
    ERROR("999999","执行失败");



    ResultEnum(String code,String msg){
        this.code=code;
        this.msg=msg;
    }

    public String code;

    public String msg;
}
